package com.useeinfo.oa.modules.task.enums;

/**
 * @auther: bin.liu
 * @Date: 2019/6/28 16:31
 * @Description: 任务工单状态枚举
 */
public enum TaskOrderStatusEnum {

    WAIT_TAKING("WAIT_TAKING", "待接单"),
    WAIT_PRESENCE("WAIT_PRESENCE","待到场"),
//    WAIT_CONFIRM_FAULT("WAIT_CONFIRM_FAULT","待确认故障"),
    UNFINISHED("UNFINISHED","待完成"),
    REJECTED("REJECTED","退回重做"),
    IN_AUDITING("IN_AUDITING","审批中"),
    CANCELED("CANCELED","已取消"),
    COMPLETED("COMPLETED","已完成");

    private String code;

    private String name;

    public String getCode() {
        return this.code;
    }

    public String getName() {
        return this.name;
    }

    TaskOrderStatusEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }
}
